package org.example.studentmanager.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Course {

    private Integer id;
    private Integer cno;
    private String cname;
    private Integer chours;
    private Integer studentNumber;
    private String status;
    private Integer teacherId;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
    private Boolean isDelete;
    private Integer classcode;
    private String teacherName; // 添加教师名字段
}
